<%--
  Created by IntelliJ IDEA.
  User: 张峰华
  Date: 2021/12/27
  Time: 12:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=utf-8" language="java" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><html>
<head>
    <title>Title</title>
    <script type="text/javascript">
        function closelayer() {
            var index1=parent.layer.getFrameIndex(window.name);
            parent.layer.close(index1);
        }
    </script>
</head>
<body>
    <form action="PersonnelServlet" target="a">
    <input type="hidden" name="method" value="update">
    <input type="hidden" name="pid" value="${personnel.pid}">
    姓名:<input type="text" name="pname" value="${personnel.pname}"><br><br>
    年龄:<input type="text" name="age" value="${personnel.age}"><br><br>
        性别<input type="radio" name="sex" value="男">男
        <input type="radio" name="sex" value="女">女<br><br>
    组别:<input type="text" name="pgroup" value="${personnel.pgroup}"><br><br>
    职位:<input type="text" name="pposition" value="${personnel.pposition}"><br><br>
    入职天数:<input type="date" name="entry_days" value="${personnel.entry_days}"><br><br>
    <input type="submit" onclick="closelayer()" value="确认修改">
    </form>
    <iframe name="a" style="display: none"></iframe>
</body>
</html>
<%--<script>--%>
<%--    function buttonadd() {--%>
<%--        var index1=parent.layer.getFrameIndex(window.name);--%>
<%--        parent.layui.close(index1);--%>
<%--    }--%>
<%--</script>--%>

